Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Unique Field Lookup Issue
~Yentl Cisnitergon 13.Jan.04 08:40 PM a Web browser
Domino Designer All Releases All Platforms


Try like this:

look := @DbLookup("":"NoCache"; "" : "" ; "All Reqs"; RequestNo; "RequestNo");

@If(RequestNo = ""; @Failure("You have to enter a Req Number");
@IsError(look); @Success;
@elements(look) = 1 & !@IsNewDoc; @Success;
@Failure("This Req Number Already Exists."))

I think this'll cover you.

hth

Dana




Unique Field Lookup Issue (~John Cisgeroth... 13.Jan.04)
. . RE: Unique Field Lookup Issue (~Mario Lopkiste... 13.Jan.04)
. . RE: Unique Field Lookup Issue (~Yentl Cisniter... 13.Jan.04)
. . . . RE: Unique Field Lookup Issue (~Bill Frokimari... 14.Jan.04)
. . . . . . Unique Field Lookup Issue - Thanks!... (~John Cisgeroth... 14.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS